package com.blackline.UI.IMPORTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
/**
 * The page after clicking IMPORT > Import Data
 * Please refer to UI.ImportData.png in doc-files.
 * @author XBO
 */
public class importData {
	/**
	 * The Import drop-down list
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_ddlBatch")
	public WebElement Import_dropDownList;
	
	/**
	 * Document text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_oFile")
	public WebElement Document_textField;
	
	/**
	 * Import button
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_btnSave")
	public WebElement Import_button;
	
	/**
	 * Account Mapping option in Import drop-down list
	 */
	@FindBy(xpath = "(//option[contains(text(),'Account Mapping')])")
	public WebElement Account_Mapping;
	
	/**
	 * The result of the import operation.
	 * The message of this web element will be displayed in UI. <br>
	 * For example, the msg may be like: Operation Failed:  Incorrect DAI Configuration 
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_lblOpResult")
	public WebElement OperationResult;
}
